<!-- 企业列表 -->
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>

	<head>
			<meta charset="UTF-8">
			<title>页头页脚</title>
			<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/jquery-1.9.1.min.js"></script>
			<script type="text/javascript" src="${pageContext.request.contextPath }/js/enterprise/enter_lists.js"></script>
			<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/header_changeLi.js"></script>
			<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css">
			<link rel='stylesheet prefetch' href='${pageContext.request.contextPath}/css/common/main_head.css'>
			<link rel='stylesheet prefetch' href='${pageContext.request.contextPath}/css/enterprise/main.css'>
			<link rel='stylesheet prefetch' href='${pageContext.request.contextPath}/css/enterprise/enterprise_list.css'>
			<script type="text/javascript">
			</script>
		</head>

		<body>
			<header>
				<div class="rightTop">
					<ul>
						<li><a href="#">登录</a></li>
						<li class="separator">|</li>
						<li><a href="#">注册</a></li>
						<li class="separator">|</li>
						<li><a href="login.html">个人中心</a></li>
					</ul>
				</div>
				<div class="headermenu">
					<ul>
						<li><a href="#">首页</a></li>
						<li><a href="#">作品</a></li>
						<li><a href="#">设计师</a></li>
						<li><a href="#">品牌服装</a></li>
						<li><a href="#">服装企业</a></li>
						<li class="curent"><a href="#">面料</a></li>
						<li><a href="#">供应商</a></li>
						<li><a href="#">资讯</a></li>
					</ul>
				</div>
				<div class="search">
					<input type="text" placeholder="我想找···" />
				</div>
			</header>
			<!--中间部分-->
			<div class="con">
				<div class="type">
					<span>分类：</span><a class="range">${clothingType.name}</a>
					<c:forEach items="${clothingTypes}" var="ct">
						<!--大类-->
						<a class="range">${ct.name}</a>
					</c:forEach>
				</div>
				<div class="left-page">
					<div class="left">
						<c:forEach items="${json.list}" var="data">
							<!--最多三条-->
							<div class="list">
								<div class="eimg">
									<img src="${pageContext.request.contextPath}/${data.logo_link}">
								</div>
								<div class="eintro">
									<span>${data.name}</span>
									<p>${data.introduction}</p>
									<div class="buttom">
										<div class="buttom-left">
											<a class="gz" href="javaScript:;">关注</a>
										</div>
										<div class="buttom-right">
											<span class="popularity">人气：${data.popularity}</span>
										</div>
									</div>
									<span class="user_id" style="display: none;">${data.user_id}</span>
									<!--企业ID-->
								</div>
							</div>
						</c:forEach>
						<div class="clean"></div>
					</div>
					<!--分页-->
					<div class="paging">
						<div style="display: none;">
							<span class="pages">${data.property.pageCount}</span>
							<!--页数-->
							<span class="pageIndex">${data.property.pageIndex}</span>
							<!--当前页码-->
							<span class="pagesize">3</span>
							<!--每页记录数-->
							<span class="hasNext">${data.property.hasNext}</span>
							<!--是否有下一页(boolean)-->
							<span class="selfUrl">/special/getSpecial.do</span>
							<!--请求action-->
							<span class="userId">designer_id=19</span>
							<!--用户ID-->
							<span class="commonUrl">${pageContext.request.contextPath}</span>
							<!--绝对路径-->
						</div>
						<div class="showPaging">
							<a class="prev" href="${pageContext.request.contextPath}/demand/getSpecial.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex-1 }&pagesize=4">
					上一页</a>
							<select class="pageNum">
								<option value="0">请选择跳转的页数</option>
								<option value="1">第1页</option>
								<option value="2" selected="">第2页</option>
							</select>
							<a class="next" href="${pageContext.request.contextPath}/demand/getSpecial.do?designer_id=${designer_id }&pageindex=${json.property.pageIndex+1 }&pagesize=4">
					下一页</a>
						</div>
					</div>
					<!--分页结束-->
				</div>
				<div class="right">
					<div class="right-top">
						<span>推荐企业</span>
						<div class="scrollDiv">
							<ul class="mulitline">
								<li>这是公告标题的第一行</li>
								<li>这是公告标题的第二行</li>
								<li>这是公告标题的第三行</li>
								<li>这是公告标题的第四行</li>
								<li>这是公告标题的第五行</li>
								<li>这是公告标题的第六行</li>
								<li>这是公告标题的第七行</li>
								<li>这是公告标题的第八行</li>
							</ul>
						</div>
					</div>
					<div class="ad"></div>
				</div>
				<!-- 页脚部分 -->
				<footer>
				</footer>
		</body>

</html>